#include<stdio.h>
#include"process.h"
double total = 1024.0;
double speed = 1.0;

void Download(){
    double current = 0;
    while(current <= total){
      FlushProcess(current,total);
      usleep(1000);
      current+=speed;
    }
    printf("\ndownload %.2lfMB Done\n",current);
}

int main(){
  Download();
  return 0;
}
